* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: linear-gradient(rgb(90, 90, 250), rgb(3, 3, 110));
}

.container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid darkturquoise;
    padding: 10px;
}

.wave {
    position: relative;
    background-color: skyblue;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, .8);
    /* border-radius: 40% 是很关键的地方，通过它可以制造一种水波纹的效果 */
    border-radius: 40%;
    transform: translate(-50%, -60%);
    animation: wave 5s linear infinite;
}

.wave::after {
    content: 'oceanball';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, 0);
    text-transform: uppercase;
    color: darkturquoise;
    font-weight: 700;
}

/*  水波纹效果 */
@keyframes wave {
    100% {
        transform: translate(-50%, -60%) rotate(360deg);
    }
}
